package com.zijie.hosptal.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zijie.hosptal.common.Result;
import com.zijie.hosptal.pojo.po.DoctorSchedules;
import com.zijie.hosptal.pojo.vo.DoctorSchedulesVO;

import java.util.List;

public interface DoctorSchedulesService {

    Page<DoctorSchedulesVO> list(Page<DoctorSchedulesVO> schedulePage, DoctorSchedules doctorSchedules);

    boolean save(DoctorSchedules doctorSchedules);

    boolean removeById(Integer id);

    boolean updateById(DoctorSchedules doctorSchedules);


    List<DoctorSchedules> getAll();

    Integer getReservedCount(Integer id);
}
